
<!DOCTYPE html>
<html>
	<head>
	    <title>订单管理</title>
	    <meta charset="UTF-8">
	    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	    <link rel="stylesheet" type="text/css" href="css/bootstrap-responsive.min.css" />
	    <link rel="stylesheet" type="text/css" href="css/style.css" />
	    <script type="text/javascript" src="js/jquery.min.js"></script>  
	</head>
	<body>
		<!-- <form class="form-inline definewidth m20" action="back_order_search.php" method="post">
			订单信息：<input name="gsn" id="search" class="abc input-default" value="" ></input>&nbsp;&nbsp;
			<button type="submit" class="btn btn-primary" >查询</button>&nbsp;&nbsp; 
		    
		</form> -->
		<table class="table table-bordered table-hover definewidth m10" style="position: relative;">
		    <thead>
			    <tr >
					<th style="text-align: center;">商品id</th>
			        <th style="text-align: center;">商品名称</th>
			        <th style="text-align: center;">商品详情</th>
			        <th style="text-align: center;">商品图片</th>
			        <th style="text-align: center;">卖家id</th>
			        <th style="text-align: center;">卖家昵称</th>
			        <th style="text-align: center;">卖家电话</th>
			        <th style="text-align: center;">卖家地址</th>
			        <th style="text-align: center;">发布时间</th>
			        <th style="text-align:center;">操作</th>
			    </tr>
		    </thead>

            <?php foreach($article as $k=>$v):?>
			<tr >
				<td style="text-align: center;"><?php echo $v['goodsid'];?></td>
				<td style="text-align: center;"><?php echo $v['goodsname'];?></td>
				<td style="text-align: center;"><?php echo $v['intro'];?></td>
				<td style="width:80px;height: 80px;"><img src="../images/goods/<?php echo $v['bigtypeid'];?>/<?php echo $v['smalltypeid'];?>/<?php echo $v['picture'];?>" style="width: 100%;height: 100%;"></td>
				<td style="text-align: center;"><?php echo $row['userid'];?></td>
				<td style="text-align: center;"><?php echo $row['uname'];?></td>
				<td style="text-align: center;"><?php echo $row['uphone'];?></td>				
				<td style="text-align: center;"><?php echo $row['uaddress'];?></td>
				<td style="text-align: center;"><?php echo $v['pub_time'];?></td>
				<td style="text-align:center; width: 100px;font-size: 15px;">                
					<a href="back_shenhe_tg.php?id=<?php echo $v['goodsid']?>" onclick="return confirm('确定通过？');">通过</a>&nbsp;|<a href="back_shenhe_butg.php?id=<?php echo $v['goodsid']?>" onclick="return confirm('确定不通过？');">不通过</a>&nbsp;            
				</td>
			</tr>
            <?php endforeach;?>

		</table>
	</body>
</html>